package com.tanhua.autoconfig.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 短信验证码配置文件
 */

@Data
//@Configuration
//指定属性前缀,prefix为配置前缀，多用于配置字段
@ConfigurationProperties(prefix = "tanhua.sms")
public class SmsProperties {
    private String accessKey;
    private String secret;
    private String signName;
    private String templateCode;
}
